package com.qiaoya.model.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
/** 
 * @author zy
 */
@Accessors(chain = true)
@NoArgsConstructor
@Getter
@Setter
@ToString
public class UserBase {
	
	private String UserBase_ID; //用户ID
	private String Phone;
	private String Name;
	private Integer Sex;
	private String HeadImgUrl;
	private String Password;
	private Date Birthday;
	private String Email;
	private String CardNo;
	private String Descript;
	private String RegSour;//注册来源
	
	private Date ModifyTime; //修改时间
	
	private Date CreateTime;
	private Integer UserMark; //用户标记： 1 正常，
	private String LogIP;
	
	private Date LoginTime;
	private String LandSour;  //最后登录来源
	private Integer UserState; //账号状态：1 正常，2 冻结，3 删除
	private String RecoCode; //推广码
	private Integer BonusBala; //积分帐户余额
	private String LastCity;
	private Integer StoreNum; //收藏数量
	private Integer OrdPayNum; //待付款数量
	private Integer OrdSureNum; //待确认数量
	private Integer OrdScoreNum; //待评价数量
	private String LastLanguage;
	private String DistrAcc_ID; //默认0000000000000000
	private String DistrMaster;// 分销上级
	private String DistrLevel; //分销等级
	
	//新手任务完成情况0,1,2 分别对应未完成、去完成、已完成
	private Integer IsEndinfo; 
	private Integer IsEndadress;
	private Integer IsEndreview;
	private Integer IsEndnewtask;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date Birthday() {
        return this.Birthday;
    }@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date ModifyTime() {
        return this.ModifyTime;
    }@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date CreateTime() {
        return this.CreateTime;
    }@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date LoginTime() {
        return this.LoginTime;
    }
	                                                                                                  

}
